package com.treetao.union.mall.api.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.baomidou.mybatisplus.extension.service.IService;
import com.treetao.union.db.service.MallBannerService;
import com.treetao.union.mall.api.base.BaseCURDController;

/**
 * Banner
 * 
 * @author devm
 *
 */
@RestController
@RequestMapping("/mall/banner")
public class MallBannerController extends BaseCURDController {
	@Autowired
	private MallBannerService bannerService;

	@Override
	protected IService<?> getCommonService() {
		return bannerService;
	}

	@Override
	protected boolean setCommonDataAuth() {
		return false;
	}

}
